function sortMe(arr){
  return arr.slice().sort(function(a,b){return lastChar(a).localeCompare(lastChar(b)) || arr.indexOf(a)-arr.indexOf(b) })
}//z.

const lastChar = (s) => (s+'').slice(-1)